import Scrollbar from 'perfect-scrollbar';
import Api from '@/api';
import components from './components';

import 'perfect-scrollbar/css/perfect-scrollbar.css';
import '@/assets//webfont/webfont.css';

export default {
  install(vue) {
    vue.prototype.$scroll = Scrollbar;
    // 设置全局 event bus
    vue.prototype.$event = new vue();
    //注册组件
    components(vue);
  },
};
